package com.fyi.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.List;


@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Article {

    private Integer articleId;
    private Integer typeId;
    private String title;
    private String author;
    private String articleContent;

    private String createTime;
    private String updateTime;

    private ArticleType articleType;
    private List<Comment> commentList;
}
